package com.hy.convenient.service.login;

import com.hy.convenient.dao.login.RolesPermissionsPojoMapper;
import com.hy.convenient.pojo.login.RolesPermissionsPojo;
import com.hy.convenient.service.HyscServiceInterface;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class RolesPermissionsService implements HyscServiceInterface<RolesPermissionsPojo> {
    @Autowired
    private RolesPermissionsPojoMapper mapper;
    @Override
    public int deleteByPrimaryKey(RolesPermissionsPojo rolesPermissionsPojo) {
        return 0;
    }

    @Override
    public int insert(RolesPermissionsPojo rolesPermissionsPojo) {
        return 0;
    }

    @Override
    public int insertSelective(RolesPermissionsPojo rolesPermissionsPojo) {
        return 0;
    }

    @Override
    public RolesPermissionsPojo selectByPrimaryKey(RolesPermissionsPojo pojo) {
        return mapper.selectByPrimaryKey(pojo);
    }

    @Override
    public int updateByPrimaryKeySelective(RolesPermissionsPojo rolesPermissionsPojo) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(RolesPermissionsPojo rolesPermissionsPojo) {
        return 0;
    }

    @Override
    public List<RolesPermissionsPojo> queryAll(Map<String, Object> map) {
        return mapper.queryAll(map);
    }

    @Override
    public int queryConut(Map<String, Object> map) {
        return 0;
    }
}
